package com.im.service.docReview.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.im.service.dto.DocManage;
import com.im.service.dto.DocReviewPlan;
import com.im.service.dto.DocReviewRecord;
import com.im.service.dto.DocReviewResult;
import com.im.service.dto.DocReviewer;
import com.im.service.dto.FileUpload;
import com.im.service.dto.PurchasePlan;

@Mapper
public interface IDocReviewQueryDAO {
	public DocReviewPlan queryDocReviewPlanByDocManageId(Map<String, Object> param);
	
	public DocReviewRecord queryDocReviewRecordByReviewPlanId(Map<String, Object> param);
	
	public DocReviewResult queryDocReviewResultByDocManageId(Map<String, Object> param);
	
	public List<PurchasePlan> queryPurchasePlanListForDocReview(Map<String, Object> param);
	
	public DocManage queryDocManageByPurchPlanId(Map<String, Object> param);

	public List<DocManage> queryDocManageListByPurchPlanId(Map<String, Object> param);

	public List<DocReviewer> queryDocReviewerByReviewPlanId(Map<String, Object> param);
	
	public FileUpload queryFileUploadInfoDetailForDocManage(Map<String, Object> param);
	
	public List<FileUpload> queryFileUploadInfosForDocManage(Map<String, Object> param);

	public List<DocManage> queryDocManageListByRelaObjId(Map<String, Object> param);

	public Integer queryHadDocCode(String docCode);

}
